<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Module zotonic_deps</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>

<h1>Module zotonic_deps</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Ensure that the relatively-installed dependencies are on the code
       loading path, and locate resources relative
       to this application's path.


<h2><a name="description">Description</a></h2>Ensure that the relatively-installed dependencies are on the code
       loading path, and locate resources relative
       to this application's path.
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#deps_on_path-0">deps_on_path/0</a></td><td>List of project dependencies on the path.</td></tr>
<tr><td valign="top"><a href="#ensure-0">ensure/0</a></td><td>Ensure that the ebin and include paths for dependencies of
       this application are on the code path.</td></tr>
<tr><td valign="top"><a href="#ensure-1">ensure/1</a></td><td>Ensure that all ebin and include paths for dependencies
       of the application for Module are on the code path.</td></tr>
<tr><td valign="top"><a href="#get_base_dir-0">get_base_dir/0</a></td><td>Return the application directory for this application.</td></tr>
<tr><td valign="top"><a href="#get_base_dir-1">get_base_dir/1</a></td><td>Return the application directory for Module.</td></tr>
<tr><td valign="top"><a href="#local_path-1">local_path/1</a></td><td>Return an application-relative directory for this application.</td></tr>
<tr><td valign="top"><a href="#local_path-2">local_path/2</a></td><td>Return an application-relative directory from Module's application.</td></tr>
<tr><td valign="top"><a href="#new_siblings-1">new_siblings/1</a></td><td>Find new siblings paths relative to Module that aren't already on the
       code path.</td></tr>
</table>

<h2><a name="functions">Function Details</a></h2>

<h3 class="function"><a name="deps_on_path-0">deps_on_path/0</a></h3>
<div class="spec">
<p><tt>deps_on_path() -&gt; [ProjNameAndVers]</tt></p>
</div><p>List of project dependencies on the path.</p>

<h3 class="function"><a name="ensure-0">ensure/0</a></h3>
<div class="spec">
<p><tt>ensure() -&gt; ok</tt></p>
</div><p>Ensure that the ebin and include paths for dependencies of
       this application are on the code path. Equivalent to
       ensure(?Module).</p>

<h3 class="function"><a name="ensure-1">ensure/1</a></h3>
<div class="spec">
<p><tt>ensure(Module) -&gt; ok</tt></p>
</div><p>Ensure that all ebin and include paths for dependencies
       of the application for Module are on the code path.</p>

<h3 class="function"><a name="get_base_dir-0">get_base_dir/0</a></h3>
<div class="spec">
<p><tt>get_base_dir() -&gt; string()</tt></p>
</div><p>Return the application directory for this application. Equivalent to
       get_base_dir(?MODULE).</p>

<h3 class="function"><a name="get_base_dir-1">get_base_dir/1</a></h3>
<div class="spec">
<p><tt>get_base_dir(Module) -&gt; string()</tt></p>
</div><p>Return the application directory for Module. It assumes Module is in
       a standard OTP layout application in the ebin or src directory.</p>

<h3 class="function"><a name="local_path-1">local_path/1</a></h3>
<div class="spec">
<p><tt>local_path(Components) -&gt; string()</tt></p>
</div><p>Return an application-relative directory for this application.
       Equivalent to local_path(Components, ?MODULE).</p>

<h3 class="function"><a name="local_path-2">local_path/2</a></h3>
<div class="spec">
<p><tt>local_path(Components::[string()], Module) -&gt; string()</tt></p>
</div><p>Return an application-relative directory from Module's application.</p>

<h3 class="function"><a name="new_siblings-1">new_siblings/1</a></h3>
<div class="spec">
<p><tt>new_siblings(Module) -&gt; [Dir]</tt></p>
</div><p>Find new siblings paths relative to Module that aren't already on the
       code path.</p>
<hr>

<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc, Feb 25 2011, 21:14:42.</i></p>
</body>
</html>
